package com.bear.newsset.entity;

import java.io.Serializable;
import java.util.List;

/**
 * 请求的新闻子项
 */
public class ResultSubItemEntity implements Serializable {
    private List<NewsDataEntity> data;
    private int total;
    private String dataType;
    private boolean hasNext;
    private String pageToken;
    private long mainLableId;
    private long childLableId;

    @Override
    public String toString() {
        return "ResultSubItemEntity{" +
                "data=" + data +
                ", total=" + total +
                ", dataType='" + dataType + '\'' +
                ", hasNext=" + hasNext +
                ", pageToken='" + pageToken + '\'' +
                ", mainLableId=" + mainLableId +
                ", childLableId=" + childLableId +
                '}';
    }

    public List<NewsDataEntity> getData() {
        return data;
    }

    public ResultSubItemEntity setData(List<NewsDataEntity> data) {
        this.data = data;
        return this;
    }

    public int getTotal() {
        return total;
    }

    public ResultSubItemEntity setTotal(int total) {
        this.total = total;
        return this;
    }

    public String getDataType() {
        return dataType;
    }

    public ResultSubItemEntity setDataType(String dataType) {
        this.dataType = dataType;
        return this;
    }

    public boolean isHasNext() {
        return hasNext;
    }

    public ResultSubItemEntity setHasNext(boolean hasNext) {
        this.hasNext = hasNext;
        return this;
    }

    public String getPageToken() {
        return pageToken;
    }

    public ResultSubItemEntity setPageToken(String pageToken) {
        this.pageToken = pageToken;
        return this;
    }

    public long getMainLableId() {
        return mainLableId;
    }

    public ResultSubItemEntity setMainLableId(long mainLableId) {
        this.mainLableId = mainLableId;
        return this;
    }

    public long getChildLableId() {
        return childLableId;
    }

    public ResultSubItemEntity setChildLableId(long childLableId) {
        this.childLableId = childLableId;
        return this;
    }
}